//
//  BIZCCLiveRequestTool.h
//  biz
//
//  Created by zhangfuwei on 2017/3/28.
//  Copyright © 2017年 jieshuibao. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^BIZCCLiveRequestSuccessfulBlock) (void);
typedef void(^BIZCCLiveRequestFailedBlock) (NSString *erorrStr);

@interface BIZCCLiveRequestTool : NSObject

+ (instancetype)shareManager;

- (void)requestRoomId:(NSString *)roomId ViewerName:(NSString *)name ViewerToken:(NSString *)token successBlock:(BIZCCLiveRequestSuccessfulBlock)successfulBlock failBlock:(BIZCCLiveRequestFailedBlock)failBlock;

- (void)requestWithUserId:(NSString *)userId RoomId:(NSString *)roomId ViewerName:(NSString *)name ViewerToken:(NSString *)token successBlock:(BIZCCLiveRequestSuccessfulBlock)successfulBlock failBlock:(BIZCCLiveRequestFailedBlock)failBlock;

@end
